import { create } from 'zustand';

// Create store
const useVideoId = create((set) => ({
    videoId: '',
    videoSelectNum: '',

    // Update form data for a specific type
    setVideoId: (data) => {
        set({ videoId: data });
    },

    // Change the selected video type
    setvideoSelectNum: (data) => set({ videoSelectNum: data }),
}));

export default useVideoId;
